home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000268_fdc@columbia.edu_Fri Feb 7 15:11:49 EST 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
46 lines
Article: 14062 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: input pattern matching blowing my mind...
Date: 7 Feb 2003 15:11:44 -0500
Organization: Columbia University
Lines: 29
Message-ID: <b213u0$i95$1@watsol.cc.columbia.edu>
References: <uisvwssje.fsf@att.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1044648705 27453 128.59.39.139 (7 Feb 2003 20:11:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Feb 2003 20:11:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14062
In article <uisvwssje.fsf@att.net>,
Thomas A. Horsley <tom.horsley@att.net> wrote:
: Here is a fragment of a script I've been playing with to try and recognize
: the sorts of passphrase prompts generated by openssh:
:
: ; ...
: ; input 10 \Fpattern({Enter?passphrase?for?*:?})
: ; ...
: ...
:
: The next set of variously commented out stuff shows the pattern I finally
: got to work. Note that the leading "E" in the "Enter" is left out of
: the pattern.
:
: Apparently I can't match an upper case E at the beginning of the pattern
: come hell or high water :-).
:
: I suspect something is going on with case twiddling...
:
Well you've found something, to be sure. It seems to happen only
in \fpattern() arguments, and only when SET INPUT CASE is OFF. If you
SET [ INPUT ] CASE ON, then it matches. I haven't looked at the code
yet and can't imagine why it happens only with the letter E (if indeed
that's the case). Maybe you should talk to that guy who wrote a whole
novel that did not contain the letter E...
I'll fix it next time I have a chance to do any programming.
- Frank